package com.hui;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 李昭辉
 * @Date: 2021/09/17/8:27
 * @Description:
 */
@SpringBootApplication
@MapperScan("com.hui.mapper")
@EnableDiscoveryClient  // 发现注册
@EnableFeignClients  // 开启Feign
@RefreshScope
public class OrderApplication01 {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication01.class, args);
    }

}
